<?php
class Bootstrap extends Zend_Application_Bootstrap_Bootstrap {
    protected function _initResourceLoader() {
        $resourceLoader = new Zend_Loader_Autoloader_Resource(array(
                                          'namespace' => '',
                                          'basePath'  => APPLICATION_PATH
        ));
        $resourceLoader->addResourceType('model', 'models/', 'Model')
                       ->addResourceType('form' , 'forms/' , 'Form');
    }

    protected function _initNavigation() {
        $navigation = new Zend_Navigation(new Zend_Config_Xml(APPLICATION_PATH . '/configs/navigation.xml', 'navigation'));
        Zend_Registry::set('Zend_Navigation', $navigation);
   }
}

